package club.zhcs.capture.biz.dept;

import java.util.List;

import org.nutz.dao.entity.Record;

import club.zhcs.capture.bean.dept.Contract;

import com.dgj.utils.entries.Result;
import com.dgj.utils.web.pager.Pager;

public interface IContractService {

	Result add(Contract contract);

	Pager<Record> listByPage(int page);

	boolean delete(int id);

	Record getAllInfo(int id);

	Result update(Contract contract);

	List<Contract> listByProjectId(int id);

}
